//
//  UIButton+buttonStyle.h
//  RM_IM
//
//  Created by user1 on 2018/7/2.
//  Copyright © 2018年 user1. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum{
    ButtonEdgeInsetsImageStyleTop,    // image在上，label在下
    ButtonEdgeInsetsImageStyleLeft,   // image在左，label在右
    ButtonEdgeInsetsImageStyleBottom, // image在下，label在上
    ButtonEdgeInsetsImageStyleRight   // image在右，label在左
}ButtonEdgeInsetsImageStyle;

@interface UIButton (buttonStyle)

- (void)layoutButtonWithEdgeInsetsStyle:(ButtonEdgeInsetsImageStyle)style
                        imageTitleSpace:(CGFloat)space;

@end
